var app = getApp();

Page({
  data: {
    userInfo: {},
    mode_text: ['我的消息', '信息反馈', '关于我们'],
    // 图标颜色：17a69e
    mode_img:[
              "../../images/my/message.png",
              "../../images/my/feedback.png",
              "../../images/my/about_us.png"]
  },
  onLoad: function () {
    var that = this;
    wx.login({
      success: function () {
        wx.getUserInfo({
          success: function (res) {
            that.setData({
              userInfo: res.userInfo
            })
          }
        })
      }
    });
  }
})